package org.tabularium.text.html;

import de.l3s.boilerpipe.extractors.DefaultExtractor;
import de.l3s.boilerpipe.extractors.LargestContentExtractor;

/**
 * Wrapper for the Boilerpipe's DefaultExtractor.
 * 
 * @author fabiogasparetti
 *
 */
public class BoilerPipeLargestContentExtractor extends ContentExtractor {

		@Override
		public String extractText(String url, String htmltext) throws Exception {			
			return DefaultExtractor.getInstance().getText(htmltext);
		}

	}
